package com.bajiao.service.system;

import com.bajiao.entity.system.AnnouncementSend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bajiao.vo.system.AnnouncementVO;

import java.util.List;

/**
 * @Description: 用户通告阅读标记表
 * @Author: FanJq
 * @Date:   2024-07-28
 * @Version: V1.0
 */
public interface IAnnouncementSendService extends IService<AnnouncementSend> {

    /**
     * 通过userid查询系统公告列表
     * @param userId
     * @return
     */
    List<AnnouncementVO> getByUserIdList(String userId);

    /**
     * 查询系统消息后将未读改为已读
     * @param id
     */
    void updateByIds(String id);
}
